package com.yunxiu.service.impl;

import com.yunxiu.entity.LogInfo;
import com.yunxiu.entity.User;
import com.yunxiu.mapper.LogInfoMapper;
import com.yunxiu.service.LogInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 日志信息service层实现类
 * @author Deom
 */
@Service
public class LogInfoServiceImpl  implements LogInfoService{

    @Autowired
    private LogInfoMapper logInfoMapper;

    @Override
    public List<LogInfo> listLogInf() {
        List<LogInfo> logInfos = logInfoMapper.listLogInf();
        return logInfos;
    }

    @Override
    public List<LogInfo> selectByOperator(String name) {
        return null;
    }

    @Override
    public int deleteMapOperator(String[] logInfoList) {
        int row=logInfoMapper.deleteMapOperator(logInfoList);
        return row;
    }

    @Override
    public User findByid(int id) {
        return null;
    }

    @Override
    public int delByid(int id) {
        return 0;
    }

    @Override
    public User findByuuid(String uuid) {
        return null;
    }

    @Override
    public int delByuuid(String uuid) {
        return 0;
    }

    @Override
    public int insert(LogInfo logInfo) {
        return 0;
    }

    @Override
    public int update(LogInfo logInfo) {
        return 0;
    }
}
